def recursion(n):
    if n == 10:
        return 1
    else:
        return 2 * (recursion(n + 1) + 1)


print(f"recursion = {recursion(1)}")
